package com.wjf.resourceservice.service;

import com.wjf.resourceservice.entity.Music;
import java.util.List;

public interface MusicService {
    List<Music> getMusicList(int page, int size);
    Music getMusicDetail(Long id);
    String playMusic(Long id);
    String downloadMusic(Long id);
    int getTotalCount();
    boolean addMusic(Music music);
    boolean updateMusic(Music music);
    boolean deleteMusic(Long id);
} 